package com.ruoyi.system.api.resp;

import com.ruoyi.common.core.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel(value="SysDeptResp对象", description="商铺信息出参")
public class SysDeptResp extends BaseModel implements Serializable {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商铺ID")
    private Long deptId;

    @ApiModelProperty(value = "父商铺ID")
    private Long parentId;

    @ApiModelProperty(value = "祖级列表")
    private String ancestors;

    @ApiModelProperty(value = "商铺名称")
    private String deptName;

    @ApiModelProperty(value = "商铺类型")
    private String shopType;

    @ApiModelProperty(value = "显示顺序")
    private String orderNum;

    @ApiModelProperty(value = "负责人")
    private String leader;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "商铺状态:0正常,1停用")
    private String status;

    @ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
    private String delFlag;

    @ApiModelProperty(value = "商铺简介")
    private String introduce;

    @ApiModelProperty(value = "商铺宣传图")
    private String shopLogo;

    @ApiModelProperty(value = "是否所属商铺")
    private Boolean isMe;

    @ApiModelProperty(value = "商品数")
    private Long productCount;

    @ApiModelProperty(value = "餐品数")
    private Long mealCount;

    @ApiModelProperty(value = "培训数")
    private Long trainCount;

    @ApiModelProperty(value = "省")
    private String province;

    @ApiModelProperty(value = "市")
    private String city;

    @ApiModelProperty(value = "区")
    private String region;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "经度")
    private BigDecimal longitude;

    @ApiModelProperty(value = "纬度")
    private BigDecimal latitude;

    @ApiModelProperty(value = "距离移动端当前远近")
    private double distance;
}
